package com.example.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.admin.entity.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: mtl
 * @Date: 2022/1/24 15:46
 * @Description: 
 */
@Mapper
public interface ArticleMapper extends BaseMapper<Article> {

    /**
     * 主页
     * @return
     */
    public List<Article> indexToHome();

}